home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11647 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  878 b 

  1. Path: cls.net!news
  2. From: Andre.Wiese@kiel.netsurf.de (Andre Wiese)
  3. Newsgroups: comp.lang.c
  4. Subject: Win95: TransmitCommChar-Problem
  5. Date: Tue, 26 Mar 1996 17:08:17 GMT
  6. Organization: Sirius Cybernetics
  7. Message-ID: <4j88ko$3d8@freeside.cls.de>
  8. NNTP-Posting-Host: p014.kiel.netsurf.de
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. Hi!
  12.  
  13. I've got a big problem with the Win95-API-Call 'TransmitCommChar':
  14. I'm using MSVC 4.0 and I want to send some bytes to my Comm-Device.
  15. I'm using a 16550 UART and a boudrate of 19200.
  16. If I step through my app using F10 in the dev.envir. everything is OK.
  17. BUT: If I compile it or run it using F5 only 2 characters are sent.
  18. TransmitCommChar returns FALSE after trying to send the third
  19. character. The third char doesn't get to the device.
  20.  
  21. What can be my mistake? The same code worked compiled with
  22. 16-bit.
  23.  
  24. Please help!
  25.  
  26. Thanks in advance.
  27.  
  28. Andre'
  29.  
  30.  
  31.  
  32.  
  33.  
  34.